#!/bin/sh
# Description: Setup Vanilla utilities

sudo almost enter rw

mkdir -p /etc/skel/.config/autostart
if [ -f /usr/share/applications/org.vanillaos.FirstSetup.desktop ]; then
    cp /usr/share/applications/org.vanillaos.FirstSetup.desktop /etc/skel/.config/autostart/
else
    cp /usr/local/share/applications/org.vanillaos.FirstSetup.desktop /etc/skel/.config/autostart/
fi

if [ -f /usr/share/applications/org.vanillaos.Installer.desktop ]; then
    cp /usr/share/applications/org.vanillaos.Installer.desktop /etc/skel/.config/autostart/
else
    cp /usr/local/share/applications/org.vanillaos.Installer.desktop /etc/skel/.config/autostart/
fi
